<% %>
<div class='extra-nav'>
  <ul>
    <li <%="class=active" if controller.action_name == 'show'%>>
	    <%=link_to_remote 'Timelogs of mine'.t + " (" + sprintf('%0.2f',@project.hours(@user.id)) + ")",
	                      :update=>'timelogs',
	                      :loading =>"Element.show('indicator-tab')",
	                      :complete=>"Element.hide('indicator-tab')",
						  :url=>{:controller=>'project',:action=>'show',:id=>@project.id}
	    %></li>
    <li <%="class=active" if controller.action_name == 'show_all_users'%>>
	    <%=link_to_remote 'Timelogs of All'.t + " (" + sprintf('%0.2f',@project.total_hours) + ")",
	                      :update=>'timelogs',
	                      :loading =>"Element.show('indicator-tab')",
	                      :complete=>"Element.hide('indicator-tab')",
						  :url=>{:controller=>'project',:action=>'show_all_users',:id=>@project.id}
	    %></li>
  </ul>
</div>
